﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="administrator_login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Login Mangement</title>
    <style type="text/css">      
        html, body
        {
        font-family:Tahoma, Arial, Helvetica, sans-serif;
        font-size: 12px;
        line-height: 1.35em;
        color: #000;
        }  
        a:link,
        a:visited
        {
        color:Blue;
        text-decoration: underline;
        }
        a:hover
        {
        color: #F26360;
        text-decoration: underline;
        }
        #wrapper1
        {
                
        }
        #wrapperin1
        {
            width:360px;
            margin:80px auto;
        }
        .clstablelogin
        {
            width:100%;
            border:1px solid #A1A89F;  
        }
        .titlelogin
        {
            background: #A1A89F;
            text-align:center;
            font-size:16px;
            line-height:25px
        }
        .clsmessage
        {
            color:Red;
            text-align:center;
            font-style:italic;
        }
        .leftcolumn
        {
            text-align:left;
            width:100px;    
        }
        .rightcolumn
        {
            
        }
        .clsbutton
        {
            font-family:Arial;
            border:1px solid;  
            background-color:#F4F2F3;  
        }
        .clsbutton:hover
        {
            font-family:Arial;
            border:1px solid;  
            background-color:#C2D3D1;  
        }
        .clsinputtext
        {
            border:1px dotted;
            width:180px;    
        }
    </style>
    <script language="javascript" type="text/javascript">
        function closeWindow() {
            window.open('', '_parent', '');
            window.close();
        }
</script> 
</head>
<body>
    <form id="form1" runat="server">
    <div id="wrapper1">
        <div id="wrapperin1">
            <table class="clstablelogin">
                <tr>
                    <td class="titlelogin" colspan="2">
                    Login
                    </td>                    
                </tr>
                <tr>
                    <td class="clsmessage" colspan="2">
                        <asp:Literal ID="ltmessage" runat="server"></asp:Literal>
                    </td>                    
                </tr>
                <tr>
                    <td class="leftcolumn">
                    User:
                    </td>
                    <td class="rightcolumn">
                        <asp:TextBox ID="txtUserName" CssClass="clsinputtext" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredUser" runat="server" ControlToValidate="txtUserName" ErrorMessage="(*)"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="leftcolumn">
                    Password:
                    </td>
                    <td class="rightcolumn">
                        <asp:TextBox ID="txtPassword" CssClass="clsinputtext" runat="server" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredPass" runat="server" ControlToValidate="txtPassword" ErrorMessage="(*)"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                 <tr>
                    <td class="leftcolumn">                    
                    </td>
                    <td class="rightcolumn">
                        <asp:CheckBox ID="chkRememberMe" runat="server" /><label for="chkRememberMe">Remember password</label>
                        <%--<a href="javascript:void(0);" onclick="javascript:alert('Vui lòng liên hệ với admin để lấy mật khẩu');">Quên mật khẩu?</a>--%>
                    </td>
                </tr>
                <tr>
                    <td class="leftcolumn">                   
                    </td>
                    <td class="rightcolumn">
                        <asp:Button ID="btnLogin" CssClass="clsbutton" runat="server" Text="Login" 
                            onclick="btnLogin_Click" />
                        <asp:Button ID="btnQuit" CausesValidation="false" CssClass="clsbutton" runat="server" Text="Exit" 
                            onclick="btnQuit_Click" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
    </form>
</body>
</html>
